package com.elin4it.ssm.service;

import com.elin4it.ssm.mapper.UserAnswerMapper;
import com.elin4it.ssm.mapper.UserinfoMapper;
import com.elin4it.ssm.pojo.UserAnswer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author:TY
 * @Descroption:
 * @Date: Created in 10:19 2018/4/9
 * @Modificd By:
 */
@Service("UserAnswerService")
public class UserAnswerServiceimpl implements UserAnswerService {
    @Autowired
    UserAnswerMapper userAnswerMapper;
    public void insertSelective(UserAnswer record) {
        userAnswerMapper.insertSelective(record);
    }
//更新用户的答题信息
    public void updateByPrimaryKeySelective(UserAnswer record) {
        userAnswerMapper.updateByPrimaryKeySelective(record);
    }

}
